<template>
	<view>
		
	</view>
	
	
</template>

<script>
	//import config from "../../utils/config";
	export default{
		props:{
			aid: {
				type: [String, Number],
				default: ''
			},
			acid: {
				type: [String, Number],
				default: ''
			},
			xzzt: {
				type: [String, Number],
				default: ''
			},
			xiazaifujian:{
				type: [Array,Object],
				default() {
				  return {};
				}
			},
			yunxiazai:{
				type: [Array,Object],
				default() {
				  return {};
				}
			},
			urlzhi: {
				type: [String, Number],
				default: ''
			}
		},
		data(){
			return {
				
			}
		},
		
		methods:{
			//帖子
			tiezi(cid,id,urlzhi) {
				if(urlzhi ==1) {
					this.$emit('xiazaifujian', cid,id);
				} else {
					this.$emit('tiezi', cid,id);
				}
			},
			// 附件
			fujianurl(url) {
				this.$emit('fujianurl', url);
			},
			//云url
			yunurl(url,ma) {
				this.$emit('yunurl', url,ma);
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
